const express = require('express');
const router = express.Router()
const userController = require('../controllers/courseController');
router.post('/add', userController.courseAdd)
router.post('/list', userController.courseList)
router.post('/upd', userController.courseUpd)
router.delete('/del', userController.delCourse)
router.get('/detail', userController.courseDetail)
module.exports = router

